package cn.acmenms.mapper;

import java.util.List;

/**
 * @ClassName: BaseMapper
 * @Description: 公有mapper
 * @author: 神奇的鸭鸭
 * @Date: 2017/12/28 12:57
 */
public interface BaseMapper<T, Q> {

    void insert(T t);

    List<T> selectList(Q q);

    Integer selectCount(Q q);

    void update(T t);

    void delete(Q q);
}